<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>添加</title>
</head>
<body>
<form th:action="@{/user/update}" method="post">
    <input type="hidden" name="id" th:value="${user.id}">
    姓名:<input type="text" name="name" th:value="${user.name}"><br>
    年龄:<input type="text" name="age" th:value="${user.age}"><br>
    地址：<input type="text" name="address" th:value="${user.address}"><br>
    密码:<input type="text" name="pwd" th:value="${user.pwd}"><br>
    <input type="submit" value="添加">
</form>
</body>
</html>